<?php

namespace App\Http;

use App\Http\Services\BirdNoteService;

class ApiConfig
{
    public static $reqHeadRules = [
        'head' => 'required',
        'head.bizcode' => 'required|alpha',
        'head.funcode' => 'required',
        'head.userid' => 'required|numeric|min:0',
    ];

    public static $config = [
        'birdnote' => [
            'create' => ['class' => BirdNoteService::class, 'method' => 'create', 'validate' => []]
        ],
    ];
}
